// src/config/navItems.js
import {
	Notebook,
	User,
	House,
	ShoppingCart,
	Document,
	Box,
	Memo,
	DocumentAdd,
	Tickets,
	Suitcase,
	Menu,
	Switch,
	Finished,
	CircleClose,
	Plus,
	Setting
} from '@element-plus/icons-vue'

const navItems = [{
		name: '首页',
		icon: House,
		path: '/home',
	},
	{
		name: '课程管理',
		icon: Notebook,
		path: '/course',
		children: [{
				name: '课程列表',
				icon: Memo,
				path: '/course',
			},
			{
				name: '创建课程',
				icon: DocumentAdd,
				path: '/course/add',
			}
		]
	},
	{
		name: '包间管理',
		icon: Suitcase,
		path: '/room',
		children: [{
				name: '包间列表',
				icon: Tickets,
				path: '/room',
			},
			{
				name: '新增包间',
				icon: Plus,
				path: '/room/add',
			}
		]
	},
	{
		name: '商城管理',
		icon: ShoppingCart,
		path: '/product',
		children: [{
				name: '商品列表',
				icon: Tickets,
				path: '/product',
			},
			{
				name: '新增商品',
				icon: Plus,
				path: '/product/add',
			},
			{
				name: '商品分类',
				icon: Menu,
				path: '/category',
			},
			{
				name: '添加商品分类',
				icon: Plus,
				path: '/category/add',
			},
			{
				name: '库存管理',
				icon: Box,
				path: '/product/stock',
			}
		]
	},
	{
		name: '工作任务管理',
		icon: Tickets,
		path: '/work',
		children: [{
				name: '任务看板',
				icon: Menu,
				path: '/work',
			},
			{
				name: '任务分配',
				icon: Switch,
				path: '/work/assign',
			},
			{
				name: '进度统计',
				icon: Finished,
				path: '/work/stats',
			}
		]
	},
	{
		name: '订单管理',
		icon: Box,
		path: '/order',
		children: [{
				name: '订单列表',
				icon: Memo,
				path: '/order',
			},
			{
				name: '退款处理',
				icon: CircleClose,
				path: '/order/refund',
			}
		]
	},
	{
		name: '用户管理',
		icon: User,
		path: '/user',
		children: [{
				name: '用户列表',
				icon: Memo,
				path: '/user/manager',
			},
			{
				name: '角色列表',
				icon: Setting,
				path: '/user/role',
			},
			{
				name: '权限列表',
				icon: Setting,
				path: '/user/permission',
			},
			{
				name: '员工注册',
				icon: Memo,
				path: '/user/employeeRegister',
			}
		]
	}
];

export default navItems;